import { EntityModel } from '@midwayjs/orm';
import { Column } from 'typeorm';
import { BaseEntity } from '@cool-midway/core';

/**
 * 商品
 */
@EntityModel('weibo_blog_tag')
export class WeiboBlogTagEntity extends BaseEntity {
  @Column({ comment: 'tags.id', type: 'int', name: 'tag_id' })
  tagId: number;

  @Column({ comment: 'blog.id', type: 'int', name: 'blog_id' })
  blogId: number;
}
